package com.bootdo.friendcircle.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.friendcircle.dao.FriendCircleMessageDao;
import com.bootdo.friendcircle.domain.FriendCircleMessageDO;
import com.bootdo.friendcircle.service.FriendCircleMessageService;



@Service
public class FriendCircleMessageServiceImpl implements FriendCircleMessageService {
	@Autowired
	private FriendCircleMessageDao friendCircleMessageDao;
	
	@Override
	public FriendCircleMessageDO get(Integer id){
		return friendCircleMessageDao.get(id);
	}
	
	@Override
	public List<FriendCircleMessageDO> list(Map<String, Object> map){
		return friendCircleMessageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return friendCircleMessageDao.count(map);
	}
	
	@Override
	public int save(FriendCircleMessageDO friendCircleMessage){
		return friendCircleMessageDao.save(friendCircleMessage);
	}
	
	@Override
	public int update(FriendCircleMessageDO friendCircleMessage){
		return friendCircleMessageDao.update(friendCircleMessage);
	}
	
	@Override
	public int remove(Integer id){
		return friendCircleMessageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return friendCircleMessageDao.batchRemove(ids);
	}
	
}
